/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.api.wrapper.business.emergencyStatement;

import java.math.BigDecimal;
import java.util.Date;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.Validator;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.common.annotation.validator.ValidatorLenMin;
import org.opsli.common.enums.ValidatorType;
import org.opsli.plugins.excel.annotation.ExcelInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 隐患报表 Model
*
* @author Ljc
* @date 2022-03-28 14:41:21
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class EmergencyStatementModel extends ApiWrapper {

    /** 隐患标题 */
    @ApiModelProperty(value = "隐患标题")
    @ExcelProperty(value = "隐患标题", order = 0)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String emergencyTitle;

    /** 上报人 */
    @ApiModelProperty(value = "上报人")
    @ExcelProperty(value = "上报人", order = 1)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String userName;

    /** 上报时间 */
    @ApiModelProperty(value = "上报时间")
    @ExcelProperty(value = "上报时间", order = 2)
    @ExcelInfo
    private String reportTime;

    /** 位置描述 */
    @ApiModelProperty(value = "位置描述")
    @ExcelProperty(value = "位置描述", order = 3)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String location;

    /** 上报描述 */
    @ApiModelProperty(value = "上报描述")
    @ExcelProperty(value = "上报描述", order = 4)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String description;

    /** 任务下发人 */
    @ApiModelProperty(value = "任务下发人")
    @ExcelProperty(value = "任务下发人", order = 5)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String realName;

    /** 任务下发时间 */
    @ApiModelProperty(value = "任务下发时间")
    @ExcelProperty(value = "任务下发时间", order = 6)
    @ExcelInfo
    private String beginTime;

    /** 处理意见 */
    @ApiModelProperty(value = "处理意见")
    @ExcelProperty(value = "处理意见", order = 7)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String feedback;

    /** 维修员名称 */
    @ApiModelProperty(value = "维修员名称")
    @ExcelProperty(value = "维修员名称", order = 8)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String wxName;

    /** 完成时间 */
    @ApiModelProperty(value = "完成时间")
    @ExcelProperty(value = "完成时间", order = 9)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    private String endTime;

    /** 隐患原因 */
    @ApiModelProperty(value = "隐患原因")
    @ExcelProperty(value = "隐患原因", order = 10)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String defectCause;

    /** 隐患结果 */
    @ApiModelProperty(value = "隐患结果")
    @ExcelProperty(value = "隐患结果", order = 11)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    @ValidatorLenMax(255)
    private String defectResult;



}